package com.glory.dgcpcpda.entity;

import java.io.Serializable;

/**
 * FileName: LoginEntity
 * Author: XJH
 * Date: 2020/5/26 16:16
 * Description:登录返回
 * History:
 */
public class  LoginEntity implements Serializable {

  private String LOGINRESULT;

  private User USER;

  public String getLOGINRESULT() {
    return LOGINRESULT == null ? "" : LOGINRESULT;
  }

  public void setLOGINRESULT(String LOGINRESULT) {
    this.LOGINRESULT = LOGINRESULT;
  }

  public User getUSER() {
    return USER == null ? new User() : USER;
  }

  public void setUSER(User USER) {
    this.USER = USER;
  }

  public class User implements Serializable{
    private String USERNAME;
    private String DESCRIPTION;
    private String DEFAULTLANGUAGE;
    private String DEFAULTORGRRN;
    private String TOKEN;

    public String getUSERNAME() {
      return USERNAME == null ? "" : USERNAME;
    }

    public void setUSERNAME(String USERNAME) {
      this.USERNAME = USERNAME;
    }

    public String getDESCRIPTION() {
      return DESCRIPTION == null ? "" : DESCRIPTION;
    }

    public void setDESCRIPTION(String DESCRIPTION) {
      this.DESCRIPTION = DESCRIPTION;
    }

    public String getDEFAULTLANGUAGE() {
      return DEFAULTLANGUAGE == null ? "" : DEFAULTLANGUAGE;
    }

    public void setDEFAULTLANGUAGE(String DEFAULTLANGUAGE) {
      this.DEFAULTLANGUAGE = DEFAULTLANGUAGE;
    }

    public String getDEFAULTORGRRN() {
      return DEFAULTORGRRN == null ? "" : DEFAULTORGRRN;
    }

    public void setDEFAULTORGRRN(String DEFAULTORGRRN) {
      this.DEFAULTORGRRN = DEFAULTORGRRN;
    }

    public String getTOKEN() {
      return TOKEN == null ? "" : TOKEN;
    }

    public void setTOKEN(String TOKEN) {
      this.TOKEN = TOKEN;
    }
  }
}
